import com.project.bean.InvitationBane;
import com.project.bean.SpeakBean;
import com.project.bean.UserBean;
import com.project.dao.IChannelDao;
import com.project.dao.IInvitationDao;
import com.project.dao.ISpeakDao;
import com.project.dao.IUserDao;
import com.project.dao.Impl.ChannelDaoImpl;
import com.project.dao.Impl.InvitationDaoImpl;
import com.project.dao.Impl.SpeakDaoImpl;
import com.project.dao.Impl.UserDaoImpl;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class test {
    public static void main(String[] args) {
       // IUserDao dao=new UserDaoImpl();
        //dao.sigIn(new UserBean("李四","2222","123@qq.com","2.jpg","法外狂徒"));
      //  IChannelDao dao=new ChannelDaoImpl();

       // System.out.println( dao.findAll());
        ;
       // System.out.println(dao.findById(1));
     //   IInvitationDao dao=new InvitationDaoImpl();
     //   System.out.println(dao.findByItem(2,null,"篮球主题名字2",null,null,null));
//dao.addInvitation(  new InvitationBane("篮球",1,1,"hahhahah"));
        ISpeakDao dao1=new SpeakDaoImpl();
       // dao1.addSpeak(new SpeakBean("speak","你好",1,4));

        System.out.println(  dao1.findAll(4));
    }
}
